package com.gitee.wsl.model.process.response

import com.gitee.wsl.flowing.pipeline.Pipeline
import com.gitee.wsl.flowing.pipeline.PipelinePhase

/**
 * [HttpClient] Pipeline used for receiving [ProcessResponse] without any processing.
 */
 class ReceivePipeline(
    override val developmentMode: Boolean = true
) : Pipeline<ProcessResponse, Unit>(Before, State, After) {
     companion object Phases {
        /**
         * The earliest phase that happens before any other
         */
         val Before: PipelinePhase = PipelinePhase("Before")

        /**
         * Use this phase to store request shared state
         */
         val State: PipelinePhase = PipelinePhase("State")

        /**
         * Latest response pipeline phase
         */
         val After: PipelinePhase = PipelinePhase("After")
    }
}